package com.woniuxy.courseservice.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.core.util.PageInfo;
import com.woniuxy.coursedao.model.TeamVacate;
import com.woniuxy.coursemodel.dto.TeamVacateDto;
import com.woniuxy.coursemodel.param.VacatePageParam;

import java.util.List;

/**
 * <p>
 * 团课请假记录表 服务类
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
public interface TeamVacateService extends IService<TeamVacate> {

    void vacate(List<Integer> teamCourseIds,String reason, Integer userId);

    PageInfo<TeamVacateDto> byPage(VacatePageParam param);

    TeamVacateDto byId(Integer teamVacateId);

    void agree(Integer teamVacateId, Integer venueId);

    void disAgree(Integer teamVacateId, Integer venueId);
}
